import axios from "axios";

export const UserList = (params) => {
  return axios({
    method: "get",
    url: "http://localhost:1234/userinfos",
    params,
  });
};

export const UserDelById = (id) => {
  return axios({
    method: "delete",
    url: "http://localhost:1234/userinfos/" + id,
  });
};
